package com.atguigu.gmall.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *     corePoolSize: 8
 *     maximumPoolSize: 16
 *     keepAliveTime: 30
 *     workQueueSize: 10
 */
@Data
@ConfigurationProperties(prefix = "gmall.threadpool")
public class ThreadPoolProperties {

    private Integer corePoolSize ;
    private Integer maximumPoolSize ;
    private Integer keepAliveTime ;
    private Integer workQueueSize ;

}
